package com.zhangsun.bean;

import java.util.Date;
import java.util.List;

public class Project {

    /* Id */
    private String id;
    /* 上级Id */
    private String parentId;
    /* 结构层级 */
    private Integer level;
    /* 任务id */
    private String taskId;
    /* 任务名称 */
    private String taskName;
    /* 工期 */
    private String durationDate;
    /* 开始时间 */
    private Date startDate;
    /* 结束时间 */
    private Date endDate;
    /* 前置任务ID */
    private String preTask;
    /* 资源名称 */
    private String resource;
    /* 导入时间 */
    private Date importTime;
    /* 批次号 */
    private String batchNum;

    private String text1;
    private String text2;
    private String text3;
    private String text4;

    private String notes;

    private List<PreProject> preProjects;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getDurationDate() {
        return durationDate;
    }

    public void setDurationDate(String durationDate) {
        this.durationDate = durationDate;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getPreTask() {
        return preTask;
    }

    public void setPreTask(String preTask) {
        this.preTask = preTask;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public Date getImportTime() {
        return importTime;
    }

    public void setImportTime(Date importTime) {
        this.importTime = importTime;
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum;
    }

    public String getText1() {
        return text1;
    }

    public void setText1(String text1) {
        this.text1 = text1;
    }

    public String getText2() {
        return text2;
    }

    public void setText2(String text2) {
        this.text2 = text2;
    }

    public String getText3() {
        return text3;
    }

    public void setText3(String text3) {
        this.text3 = text3;
    }

    public String getText4() {
        return text4;
    }

    public void setText4(String text4) {
        this.text4 = text4;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public List<PreProject> getPreProjects() {
        return preProjects;
    }

    public void setPreProjects(List<PreProject> preProjects) {
        this.preProjects = preProjects;
    }

    @Override
    public String toString() {
        return "Project{" +
                "id='" + id + '\'' +
                ", parentId='" + parentId + '\'' +
                ", level=" + level +
                ", taskId='" + taskId + '\'' +
                ", taskName='" + taskName + '\'' +
                ", durationDate='" + durationDate + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", preTask='" + preTask + '\'' +
                ", resource='" + resource + '\'' +
                ", importTime=" + importTime +
                ", batchNum='" + batchNum + '\'' +
                ", text1='" + text1 + '\'' +
                ", text2='" + text2 + '\'' +
                ", text3='" + text3 + '\'' +
                ", text4='" + text4 + '\'' +
                ", notes='" + notes + '\'' +
                ", preProjects=" + preProjects +
                '}';
    }
}
